package com.ruoyi.gcgl.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 入库单对象 gyspt_warehouse_entry
 * 
 * @author ruoyi
 * @date 2024-12-01
 */
public class GysptWarehouseEntry extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 合同ID */
    @Excel(name = "合同ID")
    private Long gysptProjectid;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long orderId;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderNo;

    /** 邀货单ID */
    @Excel(name = "邀货单ID")
    private Long yhdId;

    /** 邀货单编号 */
    @Excel(name = "邀货单编号")
    private String yhdNo;

    /** 运单ID */
    @Excel(name = "运单ID")
    private Long trackingId;

    /** 运单号 */
    @Excel(name = "运单号")
    private String trackingNo;

    /** 供应商ID */
    @Excel(name = "供应商ID")
    private Long supplyId;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplyName;

    /** 仓库ID */
    @Excel(name = "仓库ID")
    private Long warehouseId;

    /** 入库单号 */
    @Excel(name = "入库单号")
    private String entryNo;

    /** 分包编号 */
    @Excel(name = "分包编号")
    private String fbbh;

    /** 是否计划内 */
    @Excel(name = "是否计划内")
    private String isjihn;

    /** 分包名称 */
    @Excel(name = "分包名称")
    private String fbmc;

    /** 内部编号 */
    @Excel(name = "内部编号")
    private String nbbh;

    /** 类型 */
    @Excel(name = "类型")
    private String lexing;

    /** 主合同名称 */
    @Excel(name = "主合同名称")
    private String zhtmc;

    /** 项目地址 */
    @Excel(name = "项目地址")
    private String adress;

    /** 项目专项分包计划名称 */
    @Excel(name = "项目专项分包计划名称")
    private String fbhtmc;

    /** 开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startAt;

    /** 计划到货日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计划到货日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endAt;

    /** 签约日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "签约日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date qyriq;

    /** 价税合计 */
    @Excel(name = "价税合计")
    private BigDecimal jshj;

    /** 是否包含运输费 */
    @Excel(name = "是否包含运输费")
    private Integer istran;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    /** 收货备注 */
    @Excel(name = "收货备注")
    private String deliverymemo;

    /** 附件 */
    @Excel(name = "附件")
    private String file;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 删除标记 0:删除 1:没删除 */
    @Excel(name = "删除标记 0:删除 1:没删除")
    private Integer deleteFlag;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updateUser;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;
    
    private List<GysptWarehouseEntryitem> items;
    
    public List<GysptWarehouseEntryitem> getItems() {
		return items;
	}

	public void setItems(List<GysptWarehouseEntryitem> items) {
		this.items = items;
	}

	public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGysptProjectid(Long gysptProjectid) 
    {
        this.gysptProjectid = gysptProjectid;
    }

    public Long getGysptProjectid() 
    {
        return gysptProjectid;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setYhdId(Long yhdId) 
    {
        this.yhdId = yhdId;
    }

    public Long getYhdId() 
    {
        return yhdId;
    }
    public void setYhdNo(String yhdNo) 
    {
        this.yhdNo = yhdNo;
    }

    public String getYhdNo() 
    {
        return yhdNo;
    }
    public void setTrackingId(Long trackingId) 
    {
        this.trackingId = trackingId;
    }

    public Long getTrackingId() 
    {
        return trackingId;
    }
    public void setTrackingNo(String trackingNo) 
    {
        this.trackingNo = trackingNo;
    }

    public String getTrackingNo() 
    {
        return trackingNo;
    }
    public void setSupplyId(Long supplyId) 
    {
        this.supplyId = supplyId;
    }

    public Long getSupplyId() 
    {
        return supplyId;
    }
    public void setSupplyName(String supplyName) 
    {
        this.supplyName = supplyName;
    }

    public String getSupplyName() 
    {
        return supplyName;
    }
    public void setWarehouseId(Long warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId() 
    {
        return warehouseId;
    }
    public void setEntryNo(String entryNo) 
    {
        this.entryNo = entryNo;
    }

    public String getEntryNo() 
    {
        return entryNo;
    }
    public void setFbbh(String fbbh) 
    {
        this.fbbh = fbbh;
    }

    public String getFbbh() 
    {
        return fbbh;
    }
    public void setIsjihn(String isjihn) 
    {
        this.isjihn = isjihn;
    }

    public String getIsjihn() 
    {
        return isjihn;
    }
    public void setFbmc(String fbmc) 
    {
        this.fbmc = fbmc;
    }

    public String getFbmc() 
    {
        return fbmc;
    }
    public void setNbbh(String nbbh) 
    {
        this.nbbh = nbbh;
    }

    public String getNbbh() 
    {
        return nbbh;
    }
    public void setLexing(String lexing) 
    {
        this.lexing = lexing;
    }

    public String getLexing() 
    {
        return lexing;
    }
    public void setZhtmc(String zhtmc) 
    {
        this.zhtmc = zhtmc;
    }

    public String getZhtmc() 
    {
        return zhtmc;
    }
    public void setAdress(String adress) 
    {
        this.adress = adress;
    }

    public String getAdress() 
    {
        return adress;
    }
    public void setFbhtmc(String fbhtmc) 
    {
        this.fbhtmc = fbhtmc;
    }

    public String getFbhtmc() 
    {
        return fbhtmc;
    }
    public void setStartAt(Date startAt) 
    {
        this.startAt = startAt;
    }

    public Date getStartAt() 
    {
        return startAt;
    }
    public void setEndAt(Date endAt) 
    {
        this.endAt = endAt;
    }

    public Date getEndAt() 
    {
        return endAt;
    }
    public void setQyriq(Date qyriq) 
    {
        this.qyriq = qyriq;
    }

    public Date getQyriq() 
    {
        return qyriq;
    }
    public void setJshj(BigDecimal jshj) 
    {
        this.jshj = jshj;
    }

    public BigDecimal getJshj() 
    {
        return jshj;
    }
    public void setIstran(Integer istran) 
    {
        this.istran = istran;
    }

    public Integer getIstran() 
    {
        return istran;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }
    public void setDeliverymemo(String deliverymemo) 
    {
        this.deliverymemo = deliverymemo;
    }

    public String getDeliverymemo() 
    {
        return deliverymemo;
    }
    public void setFile(String file) 
    {
        this.file = file;
    }

    public String getFile() 
    {
        return file;
    }
    
    public void setDeleteFlag(Integer deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getDeleteFlag() 
    {
        return deleteFlag;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setCreateAt(Date createAt) 
    {
        this.createAt = createAt;
    }

    public Date getCreateAt() 
    {
        return createAt;
    }
    public void setUpdateUser(String updateUser) 
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() 
    {
        return updateUser;
    }
    public void setUpdateAt(Date updateAt) 
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt() 
    {
        return updateAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("gysptProjectid", getGysptProjectid())
            .append("orderId", getOrderId())
            .append("orderNo", getOrderNo())
            .append("yhdId", getYhdId())
            .append("yhdNo", getYhdNo())
            .append("trackingId", getTrackingId())
            .append("trackingNo", getTrackingNo())
            .append("supplyId", getSupplyId())
            .append("supplyName", getSupplyName())
            .append("warehouseId", getWarehouseId())
            .append("entryNo", getEntryNo())
            .append("fbbh", getFbbh())
            .append("isjihn", getIsjihn())
            .append("fbmc", getFbmc())
            .append("nbbh", getNbbh())
            .append("lexing", getLexing())
            .append("zhtmc", getZhtmc())
            .append("adress", getAdress())
            .append("fbhtmc", getFbhtmc())
            .append("startAt", getStartAt())
            .append("endAt", getEndAt())
            .append("qyriq", getQyriq())
            .append("jshj", getJshj())
            .append("istran", getIstran())
            .append("memo", getMemo())
            .append("deliverymemo", getDeliverymemo())
            .append("file", getFile())
            .append("status", getStatus())
            .append("deleteFlag", getDeleteFlag())
            .append("createUser", getCreateUser())
            .append("createAt", getCreateAt())
            .append("updateUser", getUpdateUser())
            .append("updateAt", getUpdateAt())
            .toString();
    }
}
